package com.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.common.domain.entity.Doctor;
import com.common.domain.vo.AppointmentSlot;
import com.common.domain.vo.DoctorInfoVo;
import com.common.domain.vo.DoctorVo;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
* @author pc
* @description 针对表【sys_doctor】的数据库操作Mapper
* @createDate 2023-09-02 11:17:55
* @Entity generator.domain.Doctor
*/
public interface DoctorMapper extends BaseMapper<Doctor> {

    List<DoctorVo> getDoctorInfo();


    List<Map<String, String>> getDoctorLeaveInfo(@Param("id") Long id,
                                                 @Param("type") String type);

    List<DoctorInfoVo> allDoctorList(@Param("name")String name,
                                     @Param("departmentId") String departmentId,
                                    @Param("userID") Long userID);
}
